<div class="col-lg-12 col-sm-12 col-xs-12">
  <div class="row">
    <div class="widget">
      <div class="widget-header bordered-bottom">
        <span class="widget-caption">功能</span>
      </div>
      <div class="widget-body">
        <div>
          <input type="hidden" name="_csrf" value="<%= _csrf %>" />
          <div class="form-group">
            <label for="parent">父级功能</label>
            <input name="parent" type="text" class="form-control" id="parent" placeholder="父级功能" value="<%= nav.parent||0 %>">
          </div>
          <div class="form-group">
            <label for="name">功能名称</label>
            <input name="name" type="text" class="form-control" id="name" placeholder="功能名称" value="<%= nav.name %>">
          </div>
          <div class="form-group">
            <label for="showInNav">在导航中显示</label>
            <br>
            <label>
                <input name="showInNav" class="checkbox-slider" type="checkbox" id="showInNav" <%= nav.showInNav===true?"checked":""%> >
                <span class="text"></span>
            </label>
          </div>
          <div class="form-group">
            <label for="desc">说明</label>
            <input name="desc"  type="text" class="form-control" id="desc" placeholder="说明" value="<%= nav.desc %>">
          </div>
          <div class="form-group">
            <label for="icon">图标</label>
          <div class="input-group">
            <div class="input-group-btn">
              <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                aria-haspopup="true" aria-expanded="false">图标
                <span class="caret"></span>
              </button>
              <div class="dropdown-menu well select-glyphicons" >
                <ul class="select-glyphicons-list">
                <li><a href="javascript:setShowIcon('asterisk')"><span class="shiny icon-only glyphicon glyphicon-asterisk" /></a></li>
                <li><a href="javascript:setShowIcon('plus')"><span class="shiny icon-only glyphicon glyphicon-plus" /></a></li>
                <li><a href="javascript:setShowIcon('euro')"><span class="shiny icon-only glyphicon glyphicon-euro" /></a></li>
                <li><a href="javascript:setShowIcon('minus')"><span class="shiny icon-only glyphicon glyphicon-minus" /></a></li>
                <li><a href="javascript:setShowIcon('cloud')"><span class="shiny icon-only glyphicon glyphicon-cloud" /></a></li>
                <li><a href="javascript:setShowIcon('envelope')"><span class="shiny icon-only glyphicon glyphicon-envelope" /></a></li>
                <li><a href="javascript:setShowIcon('pencil')"><span class="shiny icon-only glyphicon glyphicon-pencil" /></a></li>
                <li><a href="javascript:setShowIcon('glass')"><span class="shiny icon-only glyphicon glyphicon-glass" /></a></li>
                <li><a href="javascript:setShowIcon('music')"><span class="shiny icon-only glyphicon glyphicon-music" /></a></li>
                <li><a href="javascript:setShowIcon('search')"><span class="shiny icon-only glyphicon glyphicon-search" /></a></li>
                <li><a href="javascript:setShowIcon('heart')"><span class="shiny icon-only glyphicon glyphicon-heart" /></a></li>
                <li><a href="javascript:setShowIcon('star')"><span class="shiny icon-only glyphicon glyphicon-star" /></a></li>
                <li><a href="javascript:setShowIcon('star-empty')"><span class="shiny icon-only glyphicon glyphicon-star-empty" /></a></li>
                <li><a href="javascript:setShowIcon('user')"><span class="shiny icon-only glyphicon glyphicon-user" /></a></li>
                <li><a href="javascript:setShowIcon('film')"><span class="shiny icon-only glyphicon glyphicon-film" /></a></li>
                <li><a href="javascript:setShowIcon('th-large')"><span class="shiny icon-only glyphicon glyphicon-th-large" /></a></li>
                <li><a href="javascript:setShowIcon('th')"><span class="shiny icon-only glyphicon glyphicon-th" /></a></li>
                <li><a href="javascript:setShowIcon('th-list')"><span class="shiny icon-only glyphicon glyphicon-th-list" /></a></li>
                <li><a href="javascript:setShowIcon('ok')"><span class="shiny icon-only glyphicon glyphicon-ok" /></a></li>
                <li><a href="javascript:setShowIcon('remove')"><span class="shiny icon-only glyphicon glyphicon-remove" /></a></li>
                <li><a href="javascript:setShowIcon('zoom-in')"><span class="shiny icon-only glyphicon glyphicon-zoom-in" /></a></li>
                <li><a href="javascript:setShowIcon('zoom-out')"><span class="shiny icon-only glyphicon glyphicon-zoom-out" /></a></li>
                <li><a href="javascript:setShowIcon('off')"><span class="shiny icon-only glyphicon glyphicon-off" /></a></li>
                <li><a href="javascript:setShowIcon('signal')"><span class="shiny icon-only glyphicon glyphicon-signal" /></a></li>
                <li><a href="javascript:setShowIcon('cog')"><span class="shiny icon-only glyphicon glyphicon-cog" /></a></li>
                <li><a href="javascript:setShowIcon('trash')"><span class="shiny icon-only glyphicon glyphicon-trash" /></a></li>
                <li><a href="javascript:setShowIcon('home')"><span class="shiny icon-only glyphicon glyphicon-home" /></a></li>
                <li><a href="javascript:setShowIcon('file')"><span class="shiny icon-only glyphicon glyphicon-file" /></a></li>
                <li><a href="javascript:setShowIcon('time')"><span class="shiny icon-only glyphicon glyphicon-time" /></a></li>
                <li><a href="javascript:setShowIcon('road')"><span class="shiny icon-only glyphicon glyphicon-road" /></a></li>
                <li><a href="javascript:setShowIcon('download-alt')"><span class="shiny icon-only glyphicon glyphicon-download-alt" /></a></li>
                <li><a href="javascript:setShowIcon('download')"><span class="shiny icon-only glyphicon glyphicon-download" /></a></li>
                <li><a href="javascript:setShowIcon('upload')"><span class="shiny icon-only glyphicon glyphicon-upload" /></a></li>
                <li><a href="javascript:setShowIcon('inbox')"><span class="shiny icon-only glyphicon glyphicon-inbox" /></a></li>
                <li><a href="javascript:setShowIcon('play-circle')"><span class="shiny icon-only glyphicon glyphicon-play-circle" /></a></li>
                <li><a href="javascript:setShowIcon('repeat')"><span class="shiny icon-only glyphicon glyphicon-repeat" /></a></li>
                <li><a href="javascript:setShowIcon('refresh')"><span class="shiny icon-only glyphicon glyphicon-refresh" /></a></li>
                <li><a href="javascript:setShowIcon('list-alt')"><span class="shiny icon-only glyphicon glyphicon-list-alt" /></a></li>
                <li><a href="javascript:setShowIcon('lock')"><span class="shiny icon-only glyphicon glyphicon-lock" /></a></li>
                <li><a href="javascript:setShowIcon('flag')"><span class="shiny icon-only glyphicon glyphicon-flag" /></a></li>
                <li><a href="javascript:setShowIcon('headphones')"><span class="shiny icon-only glyphicon glyphicon-headphones" /></a></li>
                <li><a href="javascript:setShowIcon('volume-off')"><span class="shiny icon-only glyphicon glyphicon-volume-off" /></a></li>
                <li><a href="javascript:setShowIcon('volume-down')"><span class="shiny icon-only glyphicon glyphicon-volume-down" /></a></li>
                <li><a href="javascript:setShowIcon('volume-up')"><span class="shiny icon-only glyphicon glyphicon-volume-up" /></a></li>
                <li><a href="javascript:setShowIcon('qrcode')"><span class="shiny icon-only glyphicon glyphicon-qrcode" /></a></li>
                <li><a href="javascript:setShowIcon('barcode')"><span class="shiny icon-only glyphicon glyphicon-barcode" /></a></li>
                <li><a href="javascript:setShowIcon('tag')"><span class="shiny icon-only glyphicon glyphicon-tag" /></a></li>
                <li><a href="javascript:setShowIcon('tags')"><span class="shiny icon-only glyphicon glyphicon-tags" /></a></li>
                <li><a href="javascript:setShowIcon('book')"><span class="shiny icon-only glyphicon glyphicon-book" /></a></li>
                <li><a href="javascript:setShowIcon('bookmark')"><span class="shiny icon-only glyphicon glyphicon-bookmark" /></a></li>
                <li><a href="javascript:setShowIcon('print')"><span class="shiny icon-only glyphicon glyphicon-print" /></a></li>
                <li><a href="javascript:setShowIcon('camera')"><span class="shiny icon-only glyphicon glyphicon-camera" /></a></li>
                <li><a href="javascript:setShowIcon('font')"><span class="shiny icon-only glyphicon glyphicon-font" /></a></li>
                <li><a href="javascript:setShowIcon('bold')"><span class="shiny icon-only glyphicon glyphicon-bold" /></a></li>
                <li><a href="javascript:setShowIcon('italic')"><span class="shiny icon-only glyphicon glyphicon-italic" /></a></li>
                <li><a href="javascript:setShowIcon('text-height')"><span class="shiny icon-only glyphicon glyphicon-text-height" /></a></li>
                <li><a href="javascript:setShowIcon('text-width')"><span class="shiny icon-only glyphicon glyphicon-text-width" /></a></li>
                <li><a href="javascript:setShowIcon('align-left')"><span class="shiny icon-only glyphicon glyphicon-align-left" /></a></li>
                <li><a href="javascript:setShowIcon('align-center')"><span class="shiny icon-only glyphicon glyphicon-align-center" /></a></li>
                <li><a href="javascript:setShowIcon('align-right')"><span class="shiny icon-only glyphicon glyphicon-align-right" /></a></li>
                <li><a href="javascript:setShowIcon('align-justify')"><span class="shiny icon-only glyphicon glyphicon-align-justify" /></a></li>
                <li><a href="javascript:setShowIcon('list')"><span class="shiny icon-only glyphicon glyphicon-list" /></a></li>
                <li><a href="javascript:setShowIcon('indent-left')"><span class="shiny icon-only glyphicon glyphicon-indent-left" /></a></li>
                <li><a href="javascript:setShowIcon('indent-right')"><span class="shiny icon-only glyphicon glyphicon-indent-right" /></a></li>
                <li><a href="javascript:setShowIcon('facetime-video')"><span class="shiny icon-only glyphicon glyphicon-facetime-video" /></a></li>
                <li><a href="javascript:setShowIcon('picture')"><span class="shiny icon-only glyphicon glyphicon-picture" /></a></li>
                <li><a href="javascript:setShowIcon('map-marker')"><span class="shiny icon-only glyphicon glyphicon-map-marker" /></a></li>
                <li><a href="javascript:setShowIcon('adjust')"><span class="shiny icon-only glyphicon glyphicon-adjust" /></a></li>
                <li><a href="javascript:setShowIcon('tint')"><span class="shiny icon-only glyphicon glyphicon-tint" /></a></li>
                <li><a href="javascript:setShowIcon('edit')"><span class="shiny icon-only glyphicon glyphicon-edit" /></a></li>
                <li><a href="javascript:setShowIcon('share')"><span class="shiny icon-only glyphicon glyphicon-share" /></a></li>
                <li><a href="javascript:setShowIcon('check')"><span class="shiny icon-only glyphicon glyphicon-check" /></a></li>
                <li><a href="javascript:setShowIcon('move')"><span class="shiny icon-only glyphicon glyphicon-move" /></a></li>
                <li><a href="javascript:setShowIcon('step-backward')"><span class="shiny icon-only glyphicon glyphicon-step-backward" /></a></li>
                <li><a href="javascript:setShowIcon('fast-backward')"><span class="shiny icon-only glyphicon glyphicon-fast-backward" /></a></li>
                <li><a href="javascript:setShowIcon('backward')"><span class="shiny icon-only glyphicon glyphicon-backward" /></a></li>
                <li><a href="javascript:setShowIcon('play')"><span class="shiny icon-only glyphicon glyphicon-play" /></a></li>
                <li><a href="javascript:setShowIcon('pause')"><span class="shiny icon-only glyphicon glyphicon-pause" /></a></li>
                <li><a href="javascript:setShowIcon('stop')"><span class="shiny icon-only glyphicon glyphicon-stop" /></a></li>
                <li><a href="javascript:setShowIcon('forward')"><span class="shiny icon-only glyphicon glyphicon-forward" /></a></li>
                <li><a href="javascript:setShowIcon('fast-forward')"><span class="shiny icon-only glyphicon glyphicon-fast-forward" /></a></li>
                <li><a href="javascript:setShowIcon('step-forward')"><span class="shiny icon-only glyphicon glyphicon-step-forward" /></a></li>
                <li><a href="javascript:setShowIcon('eject')"><span class="shiny icon-only glyphicon glyphicon-eject" /></a></li>
                <li><a href="javascript:setShowIcon('chevron-left')"><span class="shiny icon-only glyphicon glyphicon-chevron-left" /></a></li>
                <li><a href="javascript:setShowIcon('chevron-right')"><span class="shiny icon-only glyphicon glyphicon-chevron-right" /></a></li>
                <li><a href="javascript:setShowIcon('plus-sign')"><span class="shiny icon-only glyphicon glyphicon-plus-sign" /></a></li>
                <li><a href="javascript:setShowIcon('minus-sign')"><span class="shiny icon-only glyphicon glyphicon-minus-sign" /></a></li>
                <li><a href="javascript:setShowIcon('remove-sign')"><span class="shiny icon-only glyphicon glyphicon-remove-sign" /></a></li>
                <li><a href="javascript:setShowIcon('ok-sign')"><span class="shiny icon-only glyphicon glyphicon-ok-sign" /></a></li>
                <li><a href="javascript:setShowIcon('question-sign')"><span class="shiny icon-only glyphicon glyphicon-question-sign" /></a></li>
                <li><a href="javascript:setShowIcon('info-sign')"><span class="shiny icon-only glyphicon glyphicon-info-sign" /></a></li>
                <li><a href="javascript:setShowIcon('screenshot')"><span class="shiny icon-only glyphicon glyphicon-screenshot" /></a></li>
                <li><a href="javascript:setShowIcon('remove-circle')"><span class="shiny icon-only glyphicon glyphicon-remove-circle" /></a></li>
                <li><a href="javascript:setShowIcon('ok-circle')"><span class="shiny icon-only glyphicon glyphicon-ok-circle" /></a></li>
                <li><a href="javascript:setShowIcon('ban-circle')"><span class="shiny icon-only glyphicon glyphicon-ban-circle" /></a></li>
                <li><a href="javascript:setShowIcon('arrow-left')"><span class="shiny icon-only glyphicon glyphicon-arrow-left" /></a></li>
                <li><a href="javascript:setShowIcon('arrow-right')"><span class="shiny icon-only glyphicon glyphicon-arrow-right" /></a></li>
                <li><a href="javascript:setShowIcon('arrow-up')"><span class="shiny icon-only glyphicon glyphicon-arrow-up" /></a></li>
                <li><a href="javascript:setShowIcon('arrow-down')"><span class="shiny icon-only glyphicon glyphicon-arrow-down" /></a></li>
                <li><a href="javascript:setShowIcon('share-alt')"><span class="shiny icon-only glyphicon glyphicon-share-alt" /></a></li>
                <li><a href="javascript:setShowIcon('resize-full')"><span class="shiny icon-only glyphicon glyphicon-resize-full" /></a></li>
                <li><a href="javascript:setShowIcon('resize-small')"><span class="shiny icon-only glyphicon glyphicon-resize-small" /></a></li>
                <li><a href="javascript:setShowIcon('exclamation-sign')"><span class="shiny icon-only glyphicon glyphicon-exclamation-sign" /></a></li>
                <li><a href="javascript:setShowIcon('gift')"><span class="shiny icon-only glyphicon glyphicon-gift" /></a></li>
                <li><a href="javascript:setShowIcon('leaf')"><span class="shiny icon-only glyphicon glyphicon-leaf" /></a></li>
                <li><a href="javascript:setShowIcon('fire')"><span class="shiny icon-only glyphicon glyphicon-fire" /></a></li>
                <li><a href="javascript:setShowIcon('eye-open')"><span class="shiny icon-only glyphicon glyphicon-eye-open" /></a></li>
                <li><a href="javascript:setShowIcon('eye-close')"><span class="shiny icon-only glyphicon glyphicon-eye-close" /></a></li>
                <li><a href="javascript:setShowIcon('warning-sign')"><span class="shiny icon-only glyphicon glyphicon-warning-sign" /></a></li>
                <li><a href="javascript:setShowIcon('plane')"><span class="shiny icon-only glyphicon glyphicon-plane" /></a></li>
                <li><a href="javascript:setShowIcon('calendar')"><span class="shiny icon-only glyphicon glyphicon-calendar" /></a></li>
                <li><a href="javascript:setShowIcon('random')"><span class="shiny icon-only glyphicon glyphicon-random" /></a></li>
                <li><a href="javascript:setShowIcon('comment')"><span class="shiny icon-only glyphicon glyphicon-comment" /></a></li>
                <li><a href="javascript:setShowIcon('magnet')"><span class="shiny icon-only glyphicon glyphicon-magnet" /></a></li>
                <li><a href="javascript:setShowIcon('chevron-up')"><span class="shiny icon-only glyphicon glyphicon-chevron-up" /></a></li>
                <li><a href="javascript:setShowIcon('chevron-down')"><span class="shiny icon-only glyphicon glyphicon-chevron-down" /></a></li>
                <li><a href="javascript:setShowIcon('retweet')"><span class="shiny icon-only glyphicon glyphicon-retweet" /></a></li>
                <li><a href="javascript:setShowIcon('shopping-cart')"><span class="shiny icon-only glyphicon glyphicon-shopping-cart" /></a></li>
                <li><a href="javascript:setShowIcon('folder-close')"><span class="shiny icon-only glyphicon glyphicon-folder-close" /></a></li>
                <li><a href="javascript:setShowIcon('folder-open')"><span class="shiny icon-only glyphicon glyphicon-folder-open" /></a></li>
                <li><a href="javascript:setShowIcon('resize-vertical')"><span class="shiny icon-only glyphicon glyphicon-resize-vertical" /></a></li>
                <li><a href="javascript:setShowIcon('resize-horizontal')"><span class="shiny icon-only glyphicon glyphicon-resize-horizontal" /></a></li>
                <li><a href="javascript:setShowIcon('hdd')"><span class="shiny icon-only glyphicon glyphicon-hdd" /></a></li>
                <li><a href="javascript:setShowIcon('bullhorn')"><span class="shiny icon-only glyphicon glyphicon-bullhorn" /></a></li>
                <li><a href="javascript:setShowIcon('bell')"><span class="shiny icon-only glyphicon glyphicon-bell" /></a></li>
                <li><a href="javascript:setShowIcon('certificate')"><span class="shiny icon-only glyphicon glyphicon-certificate" /></a></li>
                <li><a href="javascript:setShowIcon('thumbs-up')"><span class="shiny icon-only glyphicon glyphicon-thumbs-up" /></a></li>
                <li><a href="javascript:setShowIcon('thumbs-down')"><span class="shiny icon-only glyphicon glyphicon-thumbs-down" /></a></li>
                <li><a href="javascript:setShowIcon('hand-right')"><span class="shiny icon-only glyphicon glyphicon-hand-right" /></a></li>
                <li><a href="javascript:setShowIcon('hand-left')"><span class="shiny icon-only glyphicon glyphicon-hand-left" /></a></li>
                <li><a href="javascript:setShowIcon('hand-up')"><span class="shiny icon-only glyphicon glyphicon-hand-up" /></a></li>
                <li><a href="javascript:setShowIcon('hand-down')"><span class="shiny icon-only glyphicon glyphicon-hand-down" /></a></li>
                <li><a href="javascript:setShowIcon('circle-arrow-right')"><span class="shiny icon-only glyphicon glyphicon-circle-arrow-right" /></a></li>
                <li><a href="javascript:setShowIcon('circle-arrow-left')"><span class="shiny icon-only glyphicon glyphicon-circle-arrow-left" /></a></li>
                <li><a href="javascript:setShowIcon('circle-arrow-up')"><span class="shiny icon-only glyphicon glyphicon-circle-arrow-up" /></a></li>
                <li><a href="javascript:setShowIcon('circle-arrow-down')"><span class="shiny icon-only glyphicon glyphicon-circle-arrow-down" /></a></li>
                <li><a href="javascript:setShowIcon('globe')"><span class="shiny icon-only glyphicon glyphicon-globe" /></a></li>
                <li><a href="javascript:setShowIcon('wrench')"><span class="shiny icon-only glyphicon glyphicon-wrench" /></a></li>
                <li><a href="javascript:setShowIcon('tasks')"><span class="shiny icon-only glyphicon glyphicon-tasks" /></a></li>
                <li><a href="javascript:setShowIcon('filter')"><span class="shiny icon-only glyphicon glyphicon-filter" /></a></li>
                <li><a href="javascript:setShowIcon('briefcase')"><span class="shiny icon-only glyphicon glyphicon-briefcase" /></a></li>
                <li><a href="javascript:setShowIcon('fullscreen')"><span class="shiny icon-only glyphicon glyphicon-fullscreen" /></a></li>
                <li><a href="javascript:setShowIcon('dashboard')"><span class="shiny icon-only glyphicon glyphicon-dashboard" /></a></li>
                <li><a href="javascript:setShowIcon('paperclip')"><span class="shiny icon-only glyphicon glyphicon-paperclip" /></a></li>
                <li><a href="javascript:setShowIcon('heart-empty')"><span class="shiny icon-only glyphicon glyphicon-heart-empty" /></a></li>
                <li><a href="javascript:setShowIcon('link')"><span class="shiny icon-only glyphicon glyphicon-link" /></a></li>
                <li><a href="javascript:setShowIcon('phone')"><span class="shiny icon-only glyphicon glyphicon-phone" /></a></li>
                <li><a href="javascript:setShowIcon('pushpin')"><span class="shiny icon-only glyphicon glyphicon-pushpin" /></a></li>
                <li><a href="javascript:setShowIcon('usd')"><span class="shiny icon-only glyphicon glyphicon-usd" /></a></li>
                <li><a href="javascript:setShowIcon('gbp')"><span class="shiny icon-only glyphicon glyphicon-gbp" /></a></li>
                <li><a href="javascript:setShowIcon('sort')"><span class="shiny icon-only glyphicon glyphicon-sort" /></a></li>
                <li><a href="javascript:setShowIcon('sort-by-alphabet')"><span class="shiny icon-only glyphicon glyphicon-sort-by-alphabet" /></a></li>
                <li><a href="javascript:setShowIcon('sort-by-alphabet-alt')"><span class="shiny icon-only glyphicon glyphicon-sort-by-alphabet-alt" /></a></li>
                <li><a href="javascript:setShowIcon('sort-by-order')"><span class="shiny icon-only glyphicon glyphicon-sort-by-order" /></a></li>
                <li><a href="javascript:setShowIcon('sort-by-order-alt')"><span class="shiny icon-only glyphicon glyphicon-sort-by-order-alt" /></a></li>
                <li><a href="javascript:setShowIcon('sort-by-attributes')"><span class="shiny icon-only glyphicon glyphicon-sort-by-attributes" /></a></li>
                <li><a href="javascript:setShowIcon('sort-by-attributes-alt')"><span class="shiny icon-only glyphicon glyphicon-sort-by-attributes-alt" /></a></li>
                <li><a href="javascript:setShowIcon('unchecked')"><span class="shiny icon-only glyphicon glyphicon-unchecked" /></a></li>
                <li><a href="javascript:setShowIcon('expand')"><span class="shiny icon-only glyphicon glyphicon-expand" /></a></li>
                <li><a href="javascript:setShowIcon('collapse-down')"><span class="shiny icon-only glyphicon glyphicon-collapse-down" /></a></li>
                <li><a href="javascript:setShowIcon('collapse-up')"><span class="shiny icon-only glyphicon glyphicon-collapse-up" /></a></li>
                <li><a href="javascript:setShowIcon('log-in')"><span class="shiny icon-only glyphicon glyphicon-log-in" /></a></li>
                <li><a href="javascript:setShowIcon('flash')"><span class="shiny icon-only glyphicon glyphicon-flash" /></a></li>
                <li><a href="javascript:setShowIcon('log-out')"><span class="shiny icon-only glyphicon glyphicon-log-out" /></a></li>
                <li><a href="javascript:setShowIcon('new-window')"><span class="shiny icon-only glyphicon glyphicon-new-window" /></a></li>
                <li><a href="javascript:setShowIcon('record')"><span class="shiny icon-only glyphicon glyphicon-record" /></a></li>
                <li><a href="javascript:setShowIcon('save')"><span class="shiny icon-only glyphicon glyphicon-save" /></a></li>
                <li><a href="javascript:setShowIcon('open')"><span class="shiny icon-only glyphicon glyphicon-open" /></a></li>
                <li><a href="javascript:setShowIcon('saved')"><span class="shiny icon-only glyphicon glyphicon-saved" /></a></li>
                <li><a href="javascript:setShowIcon('import')"><span class="shiny icon-only glyphicon glyphicon-import" /></a></li>
                <li><a href="javascript:setShowIcon('export')"><span class="shiny icon-only glyphicon glyphicon-export" /></a></li>
                <li><a href="javascript:setShowIcon('send')"><span class="shiny icon-only glyphicon glyphicon-send" /></a></li>
                <li><a href="javascript:setShowIcon('floppy-disk')"><span class="shiny icon-only glyphicon glyphicon-floppy-disk" /></a></li>
                <li><a href="javascript:setShowIcon('floppy-saved')"><span class="shiny icon-only glyphicon glyphicon-floppy-saved" /></a></li>
                <li><a href="javascript:setShowIcon('floppy-remove')"><span class="shiny icon-only glyphicon glyphicon-floppy-remove" /></a></li>
                <li><a href="javascript:setShowIcon('floppy-save')"><span class="shiny icon-only glyphicon glyphicon-floppy-save" /></a></li>
                <li><a href="javascript:setShowIcon('floppy-open')"><span class="shiny icon-only glyphicon glyphicon-floppy-open" /></a></li>
                <li><a href="javascript:setShowIcon('credit-card')"><span class="shiny icon-only glyphicon glyphicon-credit-card" /></a></li>
                <li><a href="javascript:setShowIcon('transfer')"><span class="shiny icon-only glyphicon glyphicon-transfer" /></a></li>
                <li><a href="javascript:setShowIcon('cutlery')"><span class="shiny icon-only glyphicon glyphicon-cutlery" /></a></li>
                <li><a href="javascript:setShowIcon('header')"><span class="shiny icon-only glyphicon glyphicon-header" /></a></li>
                <li><a href="javascript:setShowIcon('compressed')"><span class="shiny icon-only glyphicon glyphicon-compressed" /></a></li>
                <li><a href="javascript:setShowIcon('earphone')"><span class="shiny icon-only glyphicon glyphicon-earphone" /></a></li>
                <li><a href="javascript:setShowIcon('phone-alt')"><span class="shiny icon-only glyphicon glyphicon-phone-alt" /></a></li>
                <li><a href="javascript:setShowIcon('tower')"><span class="shiny icon-only glyphicon glyphicon-tower" /></a></li>
                <li><a href="javascript:setShowIcon('stats')"><span class="shiny icon-only glyphicon glyphicon-stats" /></a></li>
                <li><a href="javascript:setShowIcon('sd-video')"><span class="shiny icon-only glyphicon glyphicon-sd-video" /></a></li>
                <li><a href="javascript:setShowIcon('hd-video')"><span class="shiny icon-only glyphicon glyphicon-hd-video" /></a></li>
                <li><a href="javascript:setShowIcon('subtitles')"><span class="shiny icon-only glyphicon glyphicon-subtitles" /></a></li>
                <li><a href="javascript:setShowIcon('sound-stereo')"><span class="shiny icon-only glyphicon glyphicon-sound-stereo" /></a></li>
                <li><a href="javascript:setShowIcon('sound-dolby')"><span class="shiny icon-only glyphicon glyphicon-sound-dolby" /></a></li>
                <li><a href="javascript:setShowIcon('sound-5-1')"><span class="shiny icon-only glyphicon glyphicon-sound-5-1" /></a></li>
                <li><a href="javascript:setShowIcon('sound-6-1')"><span class="shiny icon-only glyphicon glyphicon-sound-6-1" /></a></li>
                <li><a href="javascript:setShowIcon('sound-7-1')"><span class="shiny icon-only glyphicon glyphicon-sound-7-1" /></a></li>
                <li><a href="javascript:setShowIcon('copyright-mark')"><span class="shiny icon-only glyphicon glyphicon-copyright-mark" /></a></li>
                <li><a href="javascript:setShowIcon('registration-mark')"><span class="shiny icon-only glyphicon glyphicon-registration-mark" /></a></li>
                <li><a href="javascript:setShowIcon('cloud-download')"><span class="shiny icon-only glyphicon glyphicon-cloud-download" /></a></li>
                <li><a href="javascript:setShowIcon('cloud-upload')"><span class="shiny icon-only glyphicon glyphicon-cloud-upload" /></a></li>
                <li><a href="javascript:setShowIcon('tree-conifer')"><span class="shiny icon-only glyphicon glyphicon-tree-conifer" /></a></li>
                <li><a href="javascript:setShowIcon('tree-deciduous')"><span class="shiny icon-only glyphicon glyphicon-tree-deciduous" /></a></li>

                </ul>
              </div>
            </div><!-- /btn-group -->
              <input id="icon" name="icon" type="text" readonly="readonly" class="form-control hidden" >
          </div><!-- /input-group -->
        </div>
          <div class="form-group">
            <label for="tag">TAG</label>
            <input name="tag" type="text" class="form-control" id="tag" placeholder="请输入TAG" value="<%= nav.tag %>">
          </div>
          <div class="form-group hidden">
            <label for="sort">排序</label>
            <input name="sort" type="text" class="form-control" id="sort" value="<%= nav.sort %>">
          </div>
          <button type="submit" onclick="setShowInNav();" class="btn btn-blue">提交</button>
          <a href="/module" class="btn btn-default">返回</a>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">

                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title" id="myLargeModalLabel">Large modal</h4>
                </div>
                <div class="modal-body">
                    ...
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div>
<script type="text/javascript">
  function setShowInNav(){
      $("#showInNav").val($("#showInNav").prop("checked"));
  }
  function setShowIcon(icon){
    $("#icon").val(icon);
  }
</script>
